Stat counters in the treeGrid
TreeGrid provides additional set of built in statistics counters (default statistics counters work only against visible rows, and will not work correctly in case of a grid, where some rows can be hidden in closed branches).
#stat_tree_total - counts total of all values in a column;
#stat_tree_total_leaf - counts total of all values in a column, but includes only values on the last level of the tree;
#stat_tree_multi_total - counts total of column multiplication;
#stat_tree_multi_total_leaf - counts total of column multiplication, but includes only values on the last level of the tree;
#stat_tree_max - counts max value in a column;
#stat_tree_max_leaf - counts max value in a column, but includes only values on the last level of the tree;
#stat_tree_min - counts min value in a column;
#stat_tree_min_leaf - counts min value in a column, but includes only values on the last level of the tree;
#stat_tree_average - counts average value in a column;
#stat_tree_average_leaf - counts average value in a column, but includes only values on the last level of the tree;
#stat_tree_count - counts a real count of items in the treeGrid;
#stat_tree_count_leaf - counts a real count of items in the treeGrid, but includes only values on the last level of the tree.
© DHTMLX, 2008